﻿namespace dotnet_notes.Dtos
{
    /// <summary>
    /// JWT 令牌输出模型 
    /// </summary>
    public class JwtTokenDto
    {
        /// <summary>
        /// 令牌
        /// </summary>
        public string Token { get; set; }

        /// <summary>
        /// 令牌到期时间
        /// </summary>
        public DateTime TokenExpiresTime { get; set; }

        /// <summary>
        /// 刷新令牌
        /// </summary>
        public string RefreshToken { get; set; }

        /// <summary>
        /// 刷新令牌到期时间
        /// </summary>
        public DateTime? RefreshExpiresTime { get; set; }
    }
}
